package com.bdd.service;

import com.bdd.common.AjaxResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @Author Bdd
 * @Description
 * @Date 2020/4/2 5:04
 */
@FeignClient(value = "SERVERA")
public interface UserFeignService {

    @PostMapping("user/auth/{id}")
    AjaxResponseResult auth(@PathVariable("id") Long id);


}
